<!DOCTYPE HTML>
<html style="max-width: 640px; margin: 0 auto;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="misapplication-tap-highlight" content="no" />
    <meta name="HandheldFriendly" content="true" />
    <meta name="MobileOptimized" content="320" />
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="description" content="111.1元红包疯狂中" />
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <title>女王节 摇一摇</title>
    <script>
        //微信分享设置
        var dataForWeixin = {
            appId: "",
            img: "https://wx.shake.xinglongdayuan.com/yaoyiyao/images/logo.png",
            url: 'https://shake.xinglongdayuan.com/queenActivity.html', //链接地址
            title: "3.08女王节 现金红包领不停", //分享的标题
            desc: "现金红包等你来摇", // 分享的描述文字
            fakeid: "",
        };
    </script>
    <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="js/component.js"></script>
    <script type="text/javascript">
        function getCookie(cookie_name) {
            var allcookies = document.cookie;
            var cookie_pos = allcookies.indexOf(cookie_name); //索引的长度

            // 如果找到了索引，就代表cookie存在，
            // 反之，就说明不存在。

            if (cookie_pos != -1) {
                // 把cookie_pos放在值的开始，只要给值加1即可。
                cookie_pos += cookie_name.length + 1; //这里容易出问题，所以请大家参考的时候自己好好研究一下
                var cookie_end = allcookies.indexOf(";", cookie_pos);

                if (cookie_end == -1) {
                    cookie_end = allcookies.length;
                }

                var value = unescape(allcookies.substring(cookie_pos, cookie_end)); //这里就可以得到你想要的cookie的值了。。。
            } else {
                if (CYutils.isWeiXin()) {
                    location.href =
                        'https://user.wx.xinglongdayuan.com/jumpurl?acurl=https%3A%2F%2Fshake.xinglongdayuan.com%2FqueenActivity.html';
                }
            }
            return value;

        }

        // 调用函数
        var cookie_val = getCookie("BDed_HeaderKey_DJEHBSUAAY");
    </script>

    <script type="text/javascript" src="js/base.js"></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script type="text/javascript">
        function urlencode(str) {
            str = (str + '').toString();
            return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').replace(
                /\)/g, '%29').replace(/\*/g, '%2A').replace(/%20/g, '+');
        }

        $(function () {
            var w = urlencode(location.href);
            jQuery.ajax({
                url: 'https://wx52b1c0d4c35f2531.webwx.xinglongdayuan.com/app/weixinjsbridge/?inajax=1&url=' +
                    w,
                dataType: "script",
                cache: true
            })
        });
    </script>
    <!--<script type="text/javascript" src="js/WeixinJSBridge.js"></script>-->
    <script type="text/javascript" src="js/WeixinJS.js"></script>
    <script type="text/javascript" src="js/mui.min.js"></script>

    <script src="js/WeixinJS.js"></script>
    <script type="text/javascript">
        var mid = "DJEHBSUAAY";
        var wx;
        console.log(document.cookie);

        //        CYutils.wxShare({
        //            title: "3月7日大院摇一摇", //分享的标题
        //            desc: "女王现金券抢先中 大院狂撒千万优惠", // 分享的描述文字
        //            link: "https://user.wx.xinglongdayuan.com/jumpurl?acurl=https%3A%2F%2Fwx.shake.xinglongdayuan.com%2Fyaoyiyao%2Fyyy.html", //链接地址
        //            imgUrl:''
        //        });
        //微信分享设置
        //        var dataForWeixin = {
        //            appId: "",
        //            img: "",
        //            url: 'https://user.wx.xinglongdayuan.com/jumpurl?acurl=https%3A%2F%2Fwx.shake.xinglongdayuan.com%2Fyaoyiyao%2Fyyy.html', //链接地址
        //            title: "3月7日大院摇一摇", //分享的标题
        //            desc: "女王现金券抢先中 大院狂撒千万优惠", // 分享的描述文字
        //            fakeid: ""
        //        };
    </script>
    <link rel="stylesheet" type="text/css" href="css/mui.min.css">
    <link rel="stylesheet" type="text/css" href="css/component.css">
    <link rel="stylesheet" type="text/css" href="css/loading.css">

</style>
</head>

<body>

</body>

<script type="text/javascript" src="js/getcode.js"></script>

</html>